//
//  define.h
//  doubanFun
//
//  Created by bing on 16/3/22.
//  Copyright © 2016年 bing. All rights reserved.
//

#ifndef define_h
#define define_h

#define KpageCount    20
#define WEAKSELF      __weak typeof(self) weak_self = self;
#define SCREEN_WIDTH  [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height


// short
#define _RESTClient  [RESTClient sharedClient]
#define _AppDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])


// noti
#define USER_LOGIN_SUCCESS @"user_login_success"
#define CHANNEL_LOAD_SUCCESS @"channel_load_success"


// log 打印
#ifdef DEBUG
#warning NSLog will be show
#else
#define NSLog(...) {}
#endif

#endif /* define_h */
